package cn.hx.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;
import java.util.List;

/**
 * (DeptSchedule)实体类
 *
 * @author makejava
 * @since 2022-11-01 09:51:56
 */
public class DeptSchedule implements Serializable {
    private static final long serialVersionUID = 396223918266485225L;
    
    private Integer id;

    @DateTimeFormat(pattern = "YYYY-MM-dd")
    private Date startDate;
    @DateTimeFormat(pattern = "YYYY-MM-dd")
    private Date endDate;
    
    private String position;
    
    private String content;
    
    private Integer deptId;

    private Dept dept;

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

}

